home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 8182 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.9 KB

  1. Path: inforamp.net!ts42-02
  2. From: crs0794@inforamp.net (Geoffrey Welsh)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re: 8250/16450 uart blues
  5. Date: 17 Mar 1996 06:19:51 GMT
  6. Organization: InfoRamp Inc., Toronto, Ontario (416) 363-9100
  7. Message-ID: <4igau7$gjs@sam.inforamp.net>
  8. References: <Pine.PTX.3.91.960315100006.17058F-100000@odin.cc.pdx.edu>
  9. NNTP-Posting-Host: ts42-02.tor.inforamp.net
  10. X-Newsreader: News Xpress Version 1.0 Beta #4
  11.  
  12. In article <Pine.PTX.3.91.960315100006.17058F-100000@odin.cc.pdx.edu>,
  13.    "M. Crane" <psu01055@odin.cc.pdx.edu> wrote:
  14. >I've heard rumors that MSD reports the 16450 as an 8250 UART.
  15.  
  16. I believe that this is correct; as far as MSD is concerned, it's either an 
  17. 8250 (UART with single-byte buffer) or 16550AF (UART with a multibyte buffer). 
  18.  Although the part number reported may be incorrect, MSD has the right idea 
  19. from a functional point of view; the difference between the 8250 and 16450 
  20. UARTs are negligible for 99% of systems out there.
  21.  
  22. >I've also heard (via the NAVAS faq) that it's possible for my 8250 to 
  23. >exceed 19200 bps using "well written software"
  24.  
  25. He's correct; the overrun problem stems not from bugs in the UART, but from 
  26. poor or inconsistent reaction time within your system.  It's like blaming your 
  27. mailbox for being too small and overflowing if you only remove your mail once 
  28. a month.  Buffered UARTs such as 16550As are the functional equivalent of 
  29. replacing your mailbox with a barrel so that monthly mail pickups don't result 
  30. in lost letters due to mailbox overflow.  
  31.  
  32. >Currently I use a 386 laptop with either an 8250 or a 16450.  I believe 
  33. >it's an sx/33.  In dos, the fastest throughput I've achieved is about 
  34. >1600 Cps, sending and receiving .zip compressed files.  I have a linelink 
  35. >14.4 external modem.  I also use an old version of Telix for dos as my 
  36. >commware.
  37. >
  38. >Given the above configuration, is there anyway I can approach the Holy 
  39. >Grail of 57,700 bps using my existing configuration?  Is there a 
  40. >freeware/shareware package out there that will improve my throughput?
  41.  
  42. You're trying to get something for nothing, and you should not be surprised 
  43. that you won't get it.
  44.  
  45. The modem transfers data at 14400 bits per second.  If there were no error 
  46. correcting protocol, your modem would send the data exactly as received: start 
  47. bit, eight data bits, stop bit.  This would result in a maximum throughput of 
  48. 1440 CPS, with real transfer rates slightly lower than that.  Thanks to the 
  49. error correcting protocol, start and stop bits are not necessary but there is 
  50. some overhead for error correction frame info, etc., resulting in 
  51. approximately 19% throughput improvement over no error correction, or a 
  52. maximum value of about 1715 CPS, or slightly lower thanks to ZMODEM (or 
  53. whatever) overhead.  Higher throughputs can be reached with data compression, 
  54. bit .ZIP files rarely compress well, so you can basically discount data 
  55. compression for this particular test.
  56.  
  57. You're currently getting about 1600 CPS.  That's close to the 1715 CPS 
  58. theoretical maximum (over 93% efficiency, about par for basic free ZMODEM 
  59. implementations), and this says to me that your UART is _not_ your limiting 
  60. factor.  In fact, I would suspect that nothing short of buying a faster modem 
  61. would result in faster transfers of .ZIP files on your system... but, with the 
  62. modem's speed limit raised, you may then find that your UART has become your 
  63. limiting factor.
  64.  
  65. >Thanks in advance for your recommendations (even if they consist of "shut 
  66. >up!")
  67.  
  68. No need for anything that drastic.  <grin>
  69.  
  70. --
  71.             Geoffrey Welsh, Developer, InSystems Technologies Inc.
  72.         Temporary: crs0794@inforamp.net; At work: insystem@pathcom.com
  73.   At home: geoff@zswamp.uucp or [xenitec.on.ca|m2xenix.psg.com]!zswamp!geoff
  74.   Capitalism is a cold-hearted system which guards the interests of whoever's
  75.   at the top, yet hypocritically claims that it offers everyone a fair shot.
  76.               So is every other system ever put in place by man.
  77.